﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class DistributionShareSettingConfig : EntityTypeConfiguration<DistributionShareSetting>
    {
        public DistributionShareSettingConfig()
        {
            ToTable("Himall_DistributionShareSetting");
            Property(item => item.ProShareLogo).HasColumnType("varchar").HasMaxLength(200);
            Property(item => item.ShopShareLogo).HasColumnType("varchar").HasMaxLength(200);
            Property(item => item.ProShareTitle).HasColumnType("varchar").HasMaxLength(200);
            Property(item => item.ShopShareTitle).HasColumnType("varchar").HasMaxLength(200);
            Property(item => item.ProShareDesc).HasColumnType("varchar").HasMaxLength(2000);
            Property(item => item.ShopShareDesc).HasColumnType("varchar").HasMaxLength(2000);
            Property(item => item.DisShareLogo).HasColumnType("varchar").HasMaxLength(200);
            Property(item => item.RecruitShareLogo).HasColumnType("varchar").HasMaxLength(200);
            Property(item => item.DisShareTitle).HasColumnType("varchar").HasMaxLength(200);
            Property(item => item.RecruitShareTitle).HasColumnType("varchar").HasMaxLength(200);
            Property(item => item.DisShareDesc).HasColumnType("varchar").HasMaxLength(2000);
            Property(item => item.RecruitShareDesc).HasColumnType("varchar").HasMaxLength(2000);
        }
    }
}
